feat(web): add docsUrl for providers to install from#1061
feat(web): add docsUrl for providers to install from#1061KaviiSuri wants to merge 2 commits intopingdotgg:mainfrom
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment Tip You can customize the tone of the review comments and chat replies.Configure the |
36829ae to
0770674
Compare
apps/web/src/session-logic.ts
Outdated
| value: ProviderPickerKind; | ||
| label: string; | ||
| available: boolean; | ||
| docsUrl: string | null; |
There was a problem hiding this comment.
There is always docs, so why make it nullable?
There was a problem hiding this comment.
i added just to not make a requirement, changing this.
Closes #627
What Changed
The health check banner now includes a link to docs, so users know where to download from.
Why
Currently, the installation instructions are not included in error message. can cause confusion.
UI Changes
Before:

After:

Checklist
Note
Add
docsUrlto provider options and render an installation guide link inProviderHealthBannerdocsUrlfield to each entry inPROVIDER_OPTIONSin session-logic.ts forcodex,claudeCode, andcursor.docsUrl.ensureSentenceEndsto utils.ts to normalize banner message punctuation.Macroscope summarized fcaaead.